A PolyTime Functional Language from Light Linear Logic

نویسندگان

  • Patrick Baillot
  • Marco Gaboardi
  • Virgile Mogbil
چکیده

We introduce a typed functional programming language LPL(acronym for Light linear Programming Language) in which all valid programs run in polynomial time, and which is complete for polynomial time functions. LPL is based on lambda-calculus, with constructors for algebraic data-types, pattern matching and recursive definitions, and thus allows for a natural programming style. The validity of LPL programs is checked through typing and a syntactic criterion on recursive definitions. The higher order type system is designed from the ideas of Light linear logic: stratification, to control recursive calls, and weak exponential connectives §, !, to control duplication of arguments.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Light Affine Set Theory: A Naive Set Theory of Polynomial Time

In [7], a naive set theory is introduced based on a polynomial time logical system, Light Linear Logic (LLL). Although it is reasonably claimed that the set theory inherits the intrinsically polytime character from the underlying logic LLL, the discussion there is largely informal, and a formal justification of the claim is not provided sufficiently. Moreover, the syntax is quite complicated in...

متن کامل

Linear Logical Characterization of Polyspace Functions

Light Linear Logic (LLL) of [Gir95] characterizes the polytime functions through a careful handling of structural inference rules of logic. Based on this purely logical approach, we give a characterization of the polyspace functions. Our logical system is an extension of Intuitionistic Light A ne Logic (ILAL) of [Asp98], a variant of LLL with full (unrestricted) weakening. We introduce the noti...

متن کامل

Quantitative Models and Implicit Complexity

We give new proofs of soundness (all representable functions on base types lies in certain complexity classes) for Elementary Affine Logic, LFPL (a language for polytime computation close to realistic functional programming introduced by one of us), Light Affine Logic and Soft Affine Logic. The proofs are based on a common semantical framework which is merely instantiated in four different ways...

متن کامل

Light Aane Logic

Much eeort has been recently devoted to the study of polytime formal (and especially logical) systems GSS92, LM93, Le94, Gi96]. The purpose of such systems is manyfold. On the theoretical side, they provide a better understanding of what is the logical essence of polytime reduction (and other complexity classes). On the practical side, via the well known Curry-Howard correspondence, they yield ...

متن کامل

On the Expressive Power of Light Affine Logic

Light affine logic (LAL) is a formal system derived from linear logic that is claimed to correspond, through the Curry-Howard Isomorphism, to the class PTIME of polytime functions. The completeness of the system with respect to PTIME has been proven by embedding different presentations of PTIME into LAL. The dual property of polytime soundness, on the other hand, has been stated and proven in a...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010